package com.yxq.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 
 * @ClassName: WebController
 * @Description:
 * @author xiaoqun.yi yixq@doordu.com
 * @date 2017年3月30日 下午5:17:29
 * @version V1.3
 */
@Controller
@RequestMapping(value = "/web")
public class WebController {

	@RequestMapping(value = "index")
	public String index(ModelMap map) {
		map.put("title", "thymeleaf hello word");
		return "index";
	}

}
